package com.lianyu507.annotation;

import java.lang.annotation.*;

/**
 * =================================
 * <p>
 * Created by Administrator on 2017/11/21.
 * <p>
 * 描述:
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface DataArtical {

    /**
     * 业务类型, 默认"文章点击量"
     */
    int type() default 1;

    /**
     * 被操作实体的唯一标识, 文章id
     */
    int key() default 0;


}
